<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  <meta http-equiv="Cache-Control" content="no-siteapp">
  <link rel="stylesheet" type="text/css" href="/static/index/css/reset.css">
  <link rel="stylesheet" type="text/css" href="/static/index/css/newProject.css">
  <link rel="stylesheet" type="text/css" href="/static/index/css/projectSecond.css">
  <title></title>
</head>
<body>
  <div class="new_project">
    <div class="new_title">
      当前位置：快捷方式/新建项目
    </div>
    <div class="project_first">
      <div class="step">
        <li class="con_step y_step">
          基础设置
          <p>第一步</p>
        </li>
        <li class="img_show"></li>
        <li class="con_step y_step">
          扫描设置
          <p>第二步</p>
        </li>
        <li class="img_show"></li>
        <li class="con_step el_step">
          时间设置
          <p>第三步</p>
        </li>
      </div>
      <div class="detail_step">
<form action="" method="post" id="second-form">
      <!-- 基础设置 -->
        <div class="basics" style="height:310px;">
          <div class="de_title">
            扫描目标
          </div>
          <div class="con_item">
             <div class="type_name">
               <span>接口名称</span>
               <span>地址</span>
             </div>
             <div class="type_con"> 
               <ul>
                 <li>
                   <input type="checkbox">
                   <span>接口名1111</span>
                   <span>地址1</span>
                 </li>
                 <li>
                   <input type="checkbox">
                   <span>接口名2</span>
                   <span>地址2</span>
                 </li>
               </ul>
             </div>
          </div>
        </div>

        <!-- 筛选设置 -->
        <div class="basics" style="height:186px;">
          <div class="de_title">
            筛选设置
          </div>
          <div style="margin-top:30px">
            不包含的文件：
            <input type="text" class="basics_name" name="exclude_files" />
          </div>
          <div style="margin:30px 16px 0 0">
            不包含的文件夹：
            <input type="text" class="basics_name" name="exclude_dir"/>
          </div>
      </div>

      <!-- 参数设置 -->
      <div class="basics">
          <div class="de_title">
            参数设置
          </div>
          
      </div> 
      <input type="hidden" name="id" value="{$id}">
    </form>     
    </div>
    <div class="select_way">
        <a href="javascript:history.back(-1);">
            <button type="button" class="last">上一步</button>
        </a>
        <a href="javascript:;">
            <button type="button" class="next">下一步</button>
        </a>
        <a href="javascript:;">
            <button type="button" class="finish">完成</button>
        </a>
        <button class="cancel">取消</button>
      </div>
  </div>
</body>
<script type="text/javascript" src="/static/index/js/jquery-3.2.1.min.js"></script>
<!-- <script type="text/javascript" src="js/newProject.js"></script> -->
</html>
<script>
  $('button.finish').click(function(){
    $('#second-form').attr('action','');
    $('#second-form').submit();
  });
  $('button.next').click(function(){
    $('#second-form').attr('action',"{:url('eventSetting')}");
    $('#second-form').submit();
  });
</script>